package model;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

@Entity
@Table(name = "station_selldetail")
public class Stationselldetail implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	public Long  id;
	public String   stationpk;
	public String   ticketno;
	public String   departorgcode;
	public String   reachstationcode;
	public String   schedulecode;
	@Temporal(TemporalType.DATE)
	public Date  departdate;
	public String   departtime;
	public String   seatno;
	public double   price;
	public Integer   distance;
	@Temporal(TemporalType.TIMESTAMP)
	public Date   selltime;
	public String   sellorgcode;
	public String   selltype;
	public String   ticketstatus;
	public String   takestatus;
	@Temporal(TemporalType.TIMESTAMP)
	public Date   taketime;
	public String   remark;
	public String   updateby;
	@Temporal(TemporalType.TIMESTAMP)
	public Date   updatetime;
	@Temporal(TemporalType.TIMESTAMP)
	public Date   createtime;
	public String   createby;
	public String routecode;//	线路编码
	public String routename;//	线路名称
	public String endstationcode;//	终到站编码
	public String endstationname;//	终到站名称
	public String vehicleno;//	车牌号
	public String islinework;//	是否流水班
	public String reachstationname;//	到站名称

}
